package com.itheima_01.day07.BiZuoZuoYe_01;

import java.util.Scanner;

public class MainApp {
    public static void main(String[] args) {

        Scanner sc=new Scanner(System.in);
        System.out.println("请输入学员编号：");
        String stuNo=sc.next();
        System.out.println("请输入学员姓名：");
        String name=sc.next();
        System.out.println("请输入学员性别：");
       String sex=sc.next();
        System.out.println("请输入学员身高：");
        Double shenggao=sc.nextDouble();
        System.out.println("请输入学员年龄：");
        int age=sc.nextInt();

        Student stu=new Student(stuNo,name,sex,shenggao,age);
        System.out.println("您所输入的信息为："+stu.getStuNo()+"  "+stu.getName()+"  "+stu.getSex()+"  "+stu.getShengao()+"  "+stu.getAge());

    }
}
